.class public Lweibo4android/Tag;
.super Lweibo4android/WeiboResponse;
.source "Tag.java"

# interfaces
.implements Ljava/io/Serializable;


# static fields
.field private static final serialVersionUID:J = 0x1e389792e1a43da4L


# instance fields
.field private id:Ljava/lang/String;

.field private value:Ljava/lang/String;


# direct methods
.method public constructor <init>(Lweibo4android/http/Response;Lorg/w3c/dom/Element;)V
    .locals 1
    .parameter "res"
    .parameter "elem"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lweibo4android/WeiboException;
        }
    .end annotation

    .prologue
    .line 27
    invoke-direct {p0}, Lweibo4android/WeiboResponse;-><init>()V

    .line 28
    const-string v0, "tag"

    invoke-static {v0, p2}, Lweibo4android/Tag;->ensureRootNodeNameIs(Ljava/lang/String;Lorg/w3c/dom/Element;)V

    .line 29
    const-string v0, "id"

    invoke-static {v0, p2}, Lweibo4android/Tag;->getChildText(Ljava/lang/String;Lorg/w3c/dom/Element;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    .line 30
    const-string v0, "value"

    invoke-static {v0, p2}, Lweibo4android/Tag;->getChildText(Ljava/lang/String;Lorg/w3c/dom/Element;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    .line 33
    return-void
.end method

.method public constructor <init>(Lweibo4android/http/Response;Lorg/w3c/dom/Element;Lweibo4android/Weibo;)V
    .locals 1
    .parameter "res"
    .parameter "elem"
    .parameter "weibo"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lweibo4android/WeiboException;
        }
    .end annotation

    .prologue
    .line 39
    invoke-direct {p0}, Lweibo4android/WeiboResponse;-><init>()V

    .line 40
    const-string v0, "tagid"

    invoke-static {v0, p2}, Lweibo4android/Tag;->ensureRootNodeNameIs(Ljava/lang/String;Lorg/w3c/dom/Element;)V

    .line 41
    invoke-interface {p2}, Lorg/w3c/dom/Element;->getNodeName()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    .line 42
    invoke-interface {p2}, Lorg/w3c/dom/Element;->getNodeValue()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    .line 43
    return-void
.end method

.method public constructor <init>(Lweibo4android/http/Response;Lorg/w3c/dom/Element;Lweibo4android/Weibo;Ljava/lang/String;)V
    .locals 1
    .parameter "res"
    .parameter "elem"
    .parameter "weibo"
    .parameter "str"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lweibo4android/WeiboException;
        }
    .end annotation

    .prologue
    .line 34
    invoke-direct {p0}, Lweibo4android/WeiboResponse;-><init>()V

    .line 35
    const-string v0, "tagid"

    invoke-static {v0, p2}, Lweibo4android/Tag;->ensureRootNodeNameIs(Ljava/lang/String;Lorg/w3c/dom/Element;)V

    .line 36
    invoke-interface {p2}, Lorg/w3c/dom/Element;->getNodeName()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    .line 37
    invoke-interface {p2}, Lorg/w3c/dom/Element;->getNodeValue()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    .line 38
    return-void
.end method

.method public constructor <init>(Lweibo4android/org/json/JSONObject;)V
    .locals 1
    .parameter "json"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lweibo4android/WeiboException;,
            Lweibo4android/org/json/JSONException;
        }
    .end annotation

    .prologue
    .line 47
    invoke-direct {p0}, Lweibo4android/WeiboResponse;-><init>()V

    .line 48
    const-string v0, "id"

    invoke-virtual {p1, v0}, Lweibo4android/org/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    const-string v0, "id"

    invoke-virtual {p1, v0}, Lweibo4android/org/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-eqz v0, :cond_2

    .line 49
    const-string v0, "id"

    invoke-virtual {p1, v0}, Lweibo4android/org/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    .line 53
    :cond_0
    :goto_0
    const-string v0, "value"

    invoke-virtual {p1, v0}, Lweibo4android/org/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    const-string v0, "value"

    invoke-virtual {p1, v0}, Lweibo4android/org/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-eqz v0, :cond_1

    .line 54
    const-string v0, "value"

    invoke-virtual {p1, v0}, Lweibo4android/org/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    .line 56
    :cond_1
    return-void

    .line 50
    :cond_2
    const-string v0, "tagid"

    invoke-virtual {p1, v0}, Lweibo4android/org/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string v0, "tagid"

    invoke-virtual {p1, v0}, Lweibo4android/org/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-eqz v0, :cond_0

    .line 51
    const-string v0, "tagid"

    invoke-virtual {p1, v0}, Lweibo4android/org/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    goto :goto_0
.end method

.method static constructTags(Lweibo4android/http/Response;)Ljava/util/List;
    .locals 8
    .parameter "res"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lweibo4android/http/Response;",
            ")",
            "Ljava/util/List",
            "<",
            "Lweibo4android/Tag;",
            ">;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lweibo4android/WeiboException;
        }
    .end annotation

    .prologue
    .line 134
    :try_start_0
    invoke-virtual {p0}, Lweibo4android/http/Response;->asJSONArray()Lweibo4android/org/json/JSONArray;

    move-result-object v2

    .line 135
    .local v2, list:Lweibo4android/org/json/JSONArray;
    invoke-virtual {v2}, Lweibo4android/org/json/JSONArray;->length()I

    move-result v3

    .line 136
    .local v3, size:I
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v3}, Ljava/util/ArrayList;-><init>(I)V

    .line 137
    .local v4, tags:Ljava/util/List;,"Ljava/util/List<Lweibo4android/Tag;>;"
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    if-lt v0, v3, :cond_0

    .line 140
    return-object v4

    .line 138
    :cond_0
    new-instance v6, Lweibo4android/Tag;

    invoke-virtual {v2, v0}, Lweibo4android/org/json/JSONArray;->getJSONObject(I)Lweibo4android/org/json/JSONObject;

    move-result-object v7

    invoke-direct {v6, v7}, Lweibo4android/Tag;-><init>(Lweibo4android/org/json/JSONObject;)V

    invoke-interface {v4, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Lweibo4android/org/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Lweibo4android/WeiboException; {:try_start_0 .. :try_end_0} :catch_1

    .line 137
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 141
    .end local v0           #i:I
    .end local v2           #list:Lweibo4android/org/json/JSONArray;
    .end local v3           #size:I
    .end local v4           #tags:Ljava/util/List;,"Ljava/util/List<Lweibo4android/Tag;>;"
    :catch_0
    move-exception v1

    .line 142
    .local v1, jsone:Lweibo4android/org/json/JSONException;
    new-instance v6, Lweibo4android/WeiboException;

    invoke-direct {v6, v1}, Lweibo4android/WeiboException;-><init>(Ljava/lang/Exception;)V

    throw v6

    .line 143
    .end local v1           #jsone:Lweibo4android/org/json/JSONException;
    :catch_1
    move-exception v5

    .line 144
    .local v5, te:Lweibo4android/WeiboException;
    throw v5
.end method

.method public static constructTags(Lweibo4android/http/Response;Lweibo4android/Weibo;)Ljava/util/List;
    .locals 9
    .parameter "res"
    .parameter "weibo"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lweibo4android/http/Response;",
            "Lweibo4android/Weibo;",
            ")",
            "Ljava/util/List",
            "<",
            "Lweibo4android/Tag;",
            ">;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lweibo4android/WeiboException;
        }
    .end annotation

    .prologue
    const/4 v8, 0x0

    .line 59
    invoke-virtual {p0}, Lweibo4android/http/Response;->asDocument()Lorg/w3c/dom/Document;

    move-result-object v0

    .line 60
    .local v0, doc:Lorg/w3c/dom/Document;
    invoke-static {v0}, Lweibo4android/Tag;->isRootNodeNilClasses(Lorg/w3c/dom/Document;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 61
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v8}, Ljava/util/ArrayList;-><init>(I)V

    .line 76
    :cond_0
    :goto_0
    return-object v4

    .line 65
    :cond_1
    :try_start_0
    const-string v6, "tags"

    invoke-static {v6, v0}, Lweibo4android/Tag;->ensureRootNodeNameIs(Ljava/lang/String;Lorg/w3c/dom/Document;)V

    .line 66
    invoke-interface {v0}, Lorg/w3c/dom/Document;->getDocumentElement()Lorg/w3c/dom/Element;

    move-result-object v6

    .line 67
    const-string v7, "tag"

    .line 66
    invoke-interface {v6, v7}, Lorg/w3c/dom/Element;->getElementsByTagName(Ljava/lang/String;)Lorg/w3c/dom/NodeList;

    move-result-object v2

    .line 68
    .local v2, list:Lorg/w3c/dom/NodeList;
    invoke-interface {v2}, Lorg/w3c/dom/NodeList;->getLength()I

    move-result v3

    .line 69
    .local v3, size:I
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v3}, Ljava/util/ArrayList;-><init>(I)V

    .line 70
    .local v4, tags:Ljava/util/List;,"Ljava/util/List<Lweibo4android/Tag;>;"
    const/4 v1, 0x0

    .local v1, i:I
    :goto_1
    if-ge v1, v3, :cond_0

    .line 71
    new-instance v7, Lweibo4android/Tag;

    invoke-interface {v2, v1}, Lorg/w3c/dom/NodeList;->item(I)Lorg/w3c/dom/Node;

    move-result-object v6

    check-cast v6, Lorg/w3c/dom/Element;

    invoke-direct {v7, p0, v6}, Lweibo4android/Tag;-><init>(Lweibo4android/http/Response;Lorg/w3c/dom/Element;)V

    invoke-interface {v4, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Lweibo4android/WeiboException; {:try_start_0 .. :try_end_0} :catch_0

    .line 70
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 74
    .end local v1           #i:I
    .end local v2           #list:Lorg/w3c/dom/NodeList;
    .end local v3           #size:I
    .end local v4           #tags:Ljava/util/List;,"Ljava/util/List<Lweibo4android/Tag;>;"
    :catch_0
    move-exception v5

    .line 75
    .local v5, te:Lweibo4android/WeiboException;
    const-string v6, "nil-classes"

    invoke-static {v6, v0}, Lweibo4android/Tag;->ensureRootNodeNameIs(Ljava/lang/String;Lorg/w3c/dom/Document;)V

    .line 76
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v8}, Ljava/util/ArrayList;-><init>(I)V

    goto :goto_0
.end method

.method public static createTags(Lweibo4android/http/Response;Lweibo4android/Weibo;)Ljava/util/List;
    .locals 10
    .parameter "res"
    .parameter "weibo"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lweibo4android/http/Response;",
            "Lweibo4android/Weibo;",
            ")",
            "Ljava/util/List",
            "<",
            "Lweibo4android/Tag;",
            ">;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lweibo4android/WeiboException;
        }
    .end annotation

    .prologue
    const/4 v9, 0x0

    .line 81
    invoke-virtual {p0}, Lweibo4android/http/Response;->asDocument()Lorg/w3c/dom/Document;

    move-result-object v0

    .line 82
    .local v0, doc:Lorg/w3c/dom/Document;
    invoke-static {v0}, Lweibo4android/Tag;->isRootNodeNilClasses(Lorg/w3c/dom/Document;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 83
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v9}, Ljava/util/ArrayList;-><init>(I)V

    .line 97
    :cond_0
    :goto_0
    return-object v4

    .line 86
    :cond_1
    :try_start_0
    const-string v6, "tagids"

    invoke-static {v6, v0}, Lweibo4android/Tag;->ensureRootNodeNameIs(Ljava/lang/String;Lorg/w3c/dom/Document;)V

    .line 87
    invoke-interface {v0}, Lorg/w3c/dom/Document;->getDocumentElement()Lorg/w3c/dom/Element;

    move-result-object v6

    .line 88
    const-string v7, "tagid"

    .line 87
    invoke-interface {v6, v7}, Lorg/w3c/dom/Element;->getElementsByTagName(Ljava/lang/String;)Lorg/w3c/dom/NodeList;

    move-result-object v2

    .line 89
    .local v2, list:Lorg/w3c/dom/NodeList;
    invoke-interface {v2}, Lorg/w3c/dom/NodeList;->getLength()I

    move-result v3

    .line 90
    .local v3, size:I
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v3}, Ljava/util/ArrayList;-><init>(I)V

    .line 91
    .local v4, tags:Ljava/util/List;,"Ljava/util/List<Lweibo4android/Tag;>;"
    const/4 v1, 0x0

    .local v1, i:I
    :goto_1
    if-ge v1, v3, :cond_0

    .line 92
    new-instance v7, Lweibo4android/Tag;

    invoke-interface {v2, v1}, Lorg/w3c/dom/NodeList;->item(I)Lorg/w3c/dom/Node;

    move-result-object v6

    check-cast v6, Lorg/w3c/dom/Element;

    const/4 v8, 0x0

    invoke-direct {v7, p0, v6, v8}, Lweibo4android/Tag;-><init>(Lweibo4android/http/Response;Lorg/w3c/dom/Element;Lweibo4android/Weibo;)V

    invoke-interface {v4, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Lweibo4android/WeiboException; {:try_start_0 .. :try_end_0} :catch_0

    .line 91
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 95
    .end local v1           #i:I
    .end local v2           #list:Lorg/w3c/dom/NodeList;
    .end local v3           #size:I
    .end local v4           #tags:Ljava/util/List;,"Ljava/util/List<Lweibo4android/Tag;>;"
    :catch_0
    move-exception v5

    .line 96
    .local v5, te:Lweibo4android/WeiboException;
    const-string v6, "nil-classes"

    invoke-static {v6, v0}, Lweibo4android/Tag;->ensureRootNodeNameIs(Ljava/lang/String;Lorg/w3c/dom/Document;)V

    .line 97
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v9}, Ljava/util/ArrayList;-><init>(I)V

    goto :goto_0
.end method

.method public static destroyTags(Lweibo4android/http/Response;Lweibo4android/Weibo;)Ljava/util/List;
    .locals 11
    .parameter "res"
    .parameter "weibo"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lweibo4android/http/Response;",
            "Lweibo4android/Weibo;",
            ")",
            "Ljava/util/List",
            "<",
            "Lweibo4android/Tag;",
            ">;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lweibo4android/WeiboException;
        }
    .end annotation

    .prologue
    const/4 v10, 0x0

    .line 106
    invoke-virtual {p0}, Lweibo4android/http/Response;->asDocument()Lorg/w3c/dom/Document;

    move-result-object v0

    .line 107
    .local v0, doc:Lorg/w3c/dom/Document;
    invoke-static {v0}, Lweibo4android/Tag;->isRootNodeNilClasses(Lorg/w3c/dom/Document;)Z

    move-result v6

    if-eqz v6, :cond_1

    .line 108
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v10}, Ljava/util/ArrayList;-><init>(I)V

    .line 122
    :cond_0
    :goto_0
    return-object v4

    .line 111
    :cond_1
    :try_start_0
    const-string v6, "tags"

    invoke-static {v6, v0}, Lweibo4android/Tag;->ensureRootNodeNameIs(Ljava/lang/String;Lorg/w3c/dom/Document;)V

    .line 112
    invoke-interface {v0}, Lorg/w3c/dom/Document;->getDocumentElement()Lorg/w3c/dom/Element;

    move-result-object v6

    .line 113
    const-string v7, "tagid"

    .line 112
    invoke-interface {v6, v7}, Lorg/w3c/dom/Element;->getElementsByTagName(Ljava/lang/String;)Lorg/w3c/dom/NodeList;

    move-result-object v2

    .line 114
    .local v2, list:Lorg/w3c/dom/NodeList;
    invoke-interface {v2}, Lorg/w3c/dom/NodeList;->getLength()I

    move-result v3

    .line 115
    .local v3, size:I
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v3}, Ljava/util/ArrayList;-><init>(I)V

    .line 116
    .local v4, tags:Ljava/util/List;,"Ljava/util/List<Lweibo4android/Tag;>;"
    const/4 v1, 0x0

    .local v1, i:I
    :goto_1
    if-ge v1, v3, :cond_0

    .line 117
    new-instance v7, Lweibo4android/Tag;

    invoke-interface {v2, v1}, Lorg/w3c/dom/NodeList;->item(I)Lorg/w3c/dom/Node;

    move-result-object v6

    check-cast v6, Lorg/w3c/dom/Element;

    const/4 v8, 0x0

    const/4 v9, 0x0

    invoke-direct {v7, p0, v6, v8, v9}, Lweibo4android/Tag;-><init>(Lweibo4android/http/Response;Lorg/w3c/dom/Element;Lweibo4android/Weibo;Ljava/lang/String;)V

    invoke-interface {v4, v7}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Lweibo4android/WeiboException; {:try_start_0 .. :try_end_0} :catch_0

    .line 116
    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    .line 120
    .end local v1           #i:I
    .end local v2           #list:Lorg/w3c/dom/NodeList;
    .end local v3           #size:I
    .end local v4           #tags:Ljava/util/List;,"Ljava/util/List<Lweibo4android/Tag;>;"
    :catch_0
    move-exception v5

    .line 121
    .local v5, te:Lweibo4android/WeiboException;
    const-string v6, "nil-classes"

    invoke-static {v6, v0}, Lweibo4android/Tag;->ensureRootNodeNameIs(Ljava/lang/String;Lorg/w3c/dom/Document;)V

    .line 122
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4, v10}, Ljava/util/ArrayList;-><init>(I)V

    goto :goto_0
.end method


# virtual methods
.method public equals(Ljava/lang/Object;)Z
    .locals 5
    .parameter "obj"

    .prologue
    const/4 v1, 0x1

    const/4 v2, 0x0

    .line 159
    if-ne p0, p1, :cond_1

    .line 176
    :cond_0
    :goto_0
    return v1

    .line 161
    :cond_1
    if-nez p1, :cond_2

    move v1, v2

    .line 162
    goto :goto_0

    .line 163
    :cond_2
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v3

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v4

    if-eq v3, v4, :cond_3

    move v1, v2

    .line 164
    goto :goto_0

    :cond_3
    move-object v0, p1

    .line 165
    check-cast v0, Lweibo4android/Tag;

    .line 166
    .local v0, other:Lweibo4android/Tag;
    iget-object v3, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    if-nez v3, :cond_4

    .line 167
    iget-object v3, v0, Lweibo4android/Tag;->id:Ljava/lang/String;

    if-eqz v3, :cond_5

    move v1, v2

    .line 168
    goto :goto_0

    .line 169
    :cond_4
    iget-object v3, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    iget-object v4, v0, Lweibo4android/Tag;->id:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_5

    move v1, v2

    .line 170
    goto :goto_0

    .line 171
    :cond_5
    iget-object v3, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    if-nez v3, :cond_6

    .line 172
    iget-object v3, v0, Lweibo4android/Tag;->value:Ljava/lang/String;

    if-eqz v3, :cond_0

    move v1, v2

    .line 173
    goto :goto_0

    .line 174
    :cond_6
    iget-object v3, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    iget-object v4, v0, Lweibo4android/Tag;->value:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_0

    move v1, v2

    .line 175
    goto :goto_0
.end method

.method public getId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 182
    iget-object v0, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    return-object v0
.end method

.method public getValue()Ljava/lang/String;
    .locals 1

    .prologue
    .line 191
    iget-object v0, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    return-object v0
.end method

.method public hashCode()I
    .locals 5

    .prologue
    const/4 v3, 0x0

    .line 151
    const/16 v0, 0x1f

    .line 152
    .local v0, prime:I
    const/4 v1, 0x1

    .line 153
    .local v1, result:I
    iget-object v2, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    if-nez v2, :cond_0

    move v2, v3

    :goto_0
    add-int/lit8 v1, v2, 0x1f

    .line 154
    mul-int/lit8 v2, v1, 0x1f

    iget-object v4, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    if-nez v4, :cond_1

    :goto_1
    add-int v1, v2, v3

    .line 155
    return v1

    .line 153
    :cond_0
    iget-object v2, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->hashCode()I

    move-result v2

    goto :goto_0

    .line 154
    :cond_1
    iget-object v3, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    invoke-virtual {v3}, Ljava/lang/String;->hashCode()I

    move-result v3

    goto :goto_1
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    .prologue
    .line 196
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "tags{ "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lweibo4android/Tag;->id:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 197
    const-string v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lweibo4android/Tag;->value:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 198
    const/16 v1, 0x7d

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 196
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
